<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Register Page</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            padding: 20px;
        }

        .form-container {
            max-width: 400px;
            margin: 0 auto;
            padding: 20px;
            border: 1px solid #ccc;
            border-radius: 10px;
            background-color: #f9f9f9;
        }

            .form-container input {
                width: 100%;
                padding: 10px;
                margin: 10px 0;
                border-radius: 5px;
                border: 1px solid #ddd;
            }

            .form-container button {
                width: 100%;
                padding: 10px;
                background-color: #4CAF50;
                border: none;
                color: white;
                font-size: 16px;
                cursor: pointer;
                border-radius: 5px;
            }

                .form-container button:hover {
                    background-color: #45a049;
                }

            .form-container a {
                text-decoration: none;
                color: #007BFF;
                text-align: center;
                display: block;
                margin-top: 10px;
            }

                .form-container a:hover {
                    color: #0056b3;
                }
    </style>
</head>
<body>

    <div class="form-container">
        <h2>Register</h2>
        <form action="/register" method="POST" enctype="application/x-www-form-urlencoded">
            <input type="text" name="username" placeholder="Username" required>
            <input type="password" name="password" placeholder="Password" required>
            <button type="submit">Register</button>
        </form>

        <a href="/login.html">Already have an account? Login here</a>
    </div>

</body>
</html>
